#include "colors.inc" #include "golds.inc" #include "metals.inc" #include "woods.inc" #include "transforms.inc" #include "shapes.inc" #include "math.inc" #include "glass.inc" #include "stones.inc" #include "textures.inc" object { // uses image color index as height, extends along X-Z axes // from <0 0 0> to <1 1 1> height_field { png "bumpmap_.png" texture { pigment { image_map { png "bumpmap_.png" map_type 0 interpolate 2 once } rotate x*90 // lay X-Y image map down onto X-Z height field plane } } } //translate<0,-1,0> rotate<-30,0,0> scale 4*<1,.5,1> } // the rest is from previous assignments light_source { <1, 1, -1> color rgb <1,1,1> } light_source { <-1,5,-5> color rgb <1,1,1> } light_source { <1,3,1> color rgb <1,1,1> } light_source { <-1,5,2> color rgb <1,1,1> } camera {location <1.0, 3.0, -5.0> look_at <0.0, 0.0, 0.0>} cylinder {<-10, 0, 0>,<10, 0, 0>, 0.1 pigment {color Red}} cylinder {<0, -10, 0>,<0, 10, 0>, 0.1 pigment {color Green}} cylinder {<0, 0, -10>,<0, 0, 10>, 0.1 pigment {color Blue}} plane { y,-1 pigment{ White }}